package com.haoshui.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.haoshui.domain.ResponseResult;
import com.haoshui.domain.dto.TagDto;
import com.haoshui.domain.entity.Tag;

/**
 * 标签(Tag)表服务接口
 *
 * @author makejava
 * @since 2022-09-30 17:17:45
 */
public interface TagService extends IService<Tag> {

    ResponseResult tagList(Integer pageNum, Integer pageSize, String name, String remark);

    ResponseResult addTag(TagDto tagDto);

    ResponseResult deleteTag(Long id);

    ResponseResult getTag(Long id);

    ResponseResult updateTag(Tag tag);

    ResponseResult listAllTag();
}
